#define N (10)
#define MAX_n  (30)

// used to raed the data
char File_name[N][50];
void read_file_names();//read data_files_names from txt
//

// the preparing for data
int n,c;
struct node{
	int v,w;
	double rat;
}bag[MAX_n];

bool cmp(node a,node b){
	return a.rat>b.rat;
}
void read_data(int k);//read the data to bag from file
// and sort the data in the bag with value/cost 